package com.cehome.cloudbox.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cehome.cloudbox.entity.ProcDefExtend;
import org.apache.ibatis.annotations.Arg;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 流程定义扩展表 Mapper 接口
 * </p>
 */
public interface ProcDefExtendMapper extends BaseMapper<ProcDefExtend> {

    List<Object> getAllProc(@Param("orgId")String orgId,@Param("type") int type);


    List<Map<String,Object>> getInstanceTo(@Param("userId") String userId);


    List<Map<String,Object>> getAlreadyDone(@Param("userId") String userId);

    @Select(value = "select 1")
    @Arg()
    List<Object> selectAdasd();
}
